package cn.house.service;

import java.util.List;

import cn.house.dao.HouseDao;
import cn.house.dao.HouseDaoImpl;
import cn.house.entity.House;

public class HouseServiceImpl implements HouseService{

	HouseDao houseDao = new HouseDaoImpl();

	@Override
	public List<House> selectHouseByUserId(Integer userId) {
		return houseDao.selectHouseByUserId(userId);
	}

	@Override
	public List<House> selectAllHouse(String title) {
		return houseDao.selectAllHouse(title);
	}
	
	
}
